package com.gy.api.pc.content.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@Data
public class PosterSelectListDto implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty("专题名称")
    private String name;

    @ApiModelProperty("专题类别 (1-文章专题 2-场景资源专题 3-服化道资源专题 4-电影专题)")
    private String type;

    @ApiModelProperty("状态（0-启用 1禁用）")
    private String enable;

    @ApiModelProperty("起始时间 yyyy-MM-dd")
    private String startTime;

    @ApiModelProperty("结束时间 yyyy-MM-dd")
    private String endTime;


    @ApiModelProperty(value = "页数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页行数")
    private Integer pageSize;


    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 10;
        }
        return pageSize;
    }
}
